const koaRouter = require("koa-router");
const router = new koaRouter({
  prefix: "/user",
});
const loginControl = require("../controller/user");
// 登录
router.post("/login", loginControl.login);
// 注册
router.post("/regUser", loginControl.regUser);
module.exports = router;
